<template>
  <div class="limit-btn">
    <el-button type="info" @click="cancelData">取消</el-button>
    <el-button type="primary" @click="saveData">保存</el-button>
  </div>
</template>
<script>
export default {
  name: "can_save",
  components: {},
  data() {
    return {};
  },
  methods: {
    cancelData() {
      this.$emit("cancelData");
    },
    saveData() {
      this.$emit("saveData");
    },
  },
  computed: {},
  watch: {},
};
</script>
<style lang="less" scoped>
.limit-btn {
  padding: 20px 20px 10px;
  display: flex;
  justify-content: flex-end;
  .el-button {
    margin-left: 20px;
  }
}
</style>
